package com.example.demo.entity.dto;

import com.example.demo.entity.RoleMenu;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @description：为角色分配菜单接口入参.
 * @author：lw
 * @create_time：2024/1/17
 **/

@Schema(description = "为角色分配菜单接口入参")
@Data
public class GiveMenuDto {
    @Schema(description = "角色id")
    private Long rid;
    @Schema(description = "参数格式：{mid,isHalf,actions}[]")
    private List<RoleMenu> idList;
}
